package bomberman.entity;

import gameframework.base.DrawableImage;

import java.awt.Canvas;
import java.awt.Graphics;
import java.awt.Point;

import bomberman.BombermanGameLevel;


public class UnbreakableWall extends AbstractWall{

	protected static DrawableImage image = null;
	
	public UnbreakableWall(Canvas defaultCanvas, Point pos) {
		super(defaultCanvas, pos);
		if (image == null) {
			image = new DrawableImage("images/UnbreakableWall.png", defaultCanvas);
		}
		
	}

	public void draw(Graphics g) {
		g.drawImage(image.getImage(), (int)getPos().getX(), (int)getPos().getY(), BombermanGameLevel.SPRITE_SIZE, BombermanGameLevel.SPRITE_SIZE, null);
	}

	@Override
	public void oneStepMoveHandler() {
		//Nothing to do
	}
}
